package com.example.littleSpider.myapplication.fragment.gankuai.recivesure;

import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;

import com.example.littleSpider.myapplication.R;
import com.example.littleSpider.myapplication.adapter.TobeConfirmedAdapter;
import com.example.littleSpider.myapplication.base.BaseFragment;

import java.util.ArrayList;
import java.util.List;

import butterknife.BindView;

/**
 * Created by EDZ on 2017/12/23.
 *
 * 网点收发货确认 发货确认 待确认
 */

public class SendTobeConfirmedFragment extends BaseFragment {

    @BindView(R.id.tobeconfirmed_recyclerview)
    RecyclerView tobeconfirmed_recyclerview;
    @Override
    protected int setLayout() {
        return R.layout.fragment_sendtobeconfirmed;
    }

    @Override
    protected void initView() {
        List<String> datas = new ArrayList<>();
        for (int i = 0; i < 10; i++) {
            datas.add("");
        }
        tobeconfirmed_recyclerview.setLayoutManager(new LinearLayoutManager(getContext()));
        TobeConfirmedAdapter adapter = new TobeConfirmedAdapter(R.layout.item_confirmed,datas);
        tobeconfirmed_recyclerview.setAdapter(adapter);
    }

    @Override
    protected void initData() {

    }
}
